<?php

namespace Hilaoyu\LaravelExtend\Services\AccessControl;


use Hilaoyu\LaravelExtend\Services\Auth\Traits\ModelWithLoginRefreshTrait;
use Hilaoyu\Utils\UtilSupport;
use Hilaoyu\LaravelExtend\Model;

abstract class AbstractModelAccessControlSuperusers extends Model
{

    protected $table = 'access_control_superusers';
    protected $primaryKey = 'user_id';
    protected $keyType = 'char';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'user_id' ,
    ];

    public function getValidationRules()
    {
        $rules = [
            'user_id' => 'required|uuid|unique:' . static::getTableCon() . ',user_id' ,
        ];

        return $rules;
    }




}
